// fetchMarkdown.js
export const fetchMarkdown = async (url) => {
   const response = await fetch(url, {
      headers: {
         'Content-Type': 'text/plain',
      },
   });
   if (!response.ok) {
      throw new Error(`Cannot fetch the markdown file: ${response.statusText}`);
   }
   return response.text();
};
